//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package lib.netrxtx;

import java.util.EventObject;

public class TCPPortEvent extends EventObject {
    private int eventType;
    private static final long serialVersionUID = 2374484370854422561L;
    public static final int DATA_AVAILABLE = 1;
    public static final int PORT_CONNECTED = 2;
    public static final int PORT_CONNECTION_FAILED = 3;
    public static final int PORT_DISCONNECTED = 4;

    public TCPPortEvent(TCPPort port, int eventType) {
        super(port);
        this.eventType = eventType;
    }

    public int getEventType() {
        return this.eventType;
    }
}
